/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dataModel.jsonIntermediate;

import java.util.ArrayList;

/**
 *
 * @author Bruna
 */
public class JSONGateway extends JSONElem {

    public JSONGateway(int id, String label, ArrayList<Integer> arcs, int laneId, int poolId, String type) {
        super(id, label, arcs, laneId, poolId, type);
    }

    public String toString() {
        String a = "";
        for (int i : arcs) {
            a = a + " " + i;
        }
        a = a.trim();
        return "Gateway (" + id + ") - " + "Lane: " + laneId + " " + label + " - " + type + " - " + a;
    }
}
